import request from '@/utils/request'

// 查询结账管理列表
export function listCloseAccounts(query) {
  return request({
    url: '/wms/wms/closeAccounts/list',
    method: 'get',
    params: query
  })
}

// 查询结账管理详细
export function getCloseAccounts(closeAccountsUuid) {
  return request({
    url: '/wms/wms/closeAccounts/' + closeAccountsUuid,
    method: 'get'
  })
}

// 新增结账管理
export function addCloseAccounts(data) {
  return request({
    url: '/wms/wms/closeAccounts',
    method: 'post',
    data: data
  })
}

// 修改结账管理
export function updateCloseAccounts(data) {
  return request({
    url: '/wms/wms/closeAccounts',
    method: 'put',
    data: data
  })
}

// 删除结账管理
export function delCloseAccounts(closeAccountsUuid) {
  return request({
    url: '/wms/wms/closeAccounts/' + closeAccountsUuid,
    method: 'delete'
  })
}
